package com.aaa.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 学生认证信息表
 * @Author: 陈阳
 * @CreateDate: 2018/12/24$ 8:57$
 */
public class AppStcardApprove {
    private String telephone;
    private String stcard;
    //入学年份
    @DateTimeFormat(pattern = "yy-MM-dd")
    private Date entrancedate;
    //毕业年份
    @DateTimeFormat(pattern = "yy-MM-dd")
    private Date graduatedate;
    //学生证照片url
    private String stcardPhotoUrl;
    private Integer approveState;
    private Integer employeeid;
    private Date createtime;
    private Date updatetime;
    private Integer isdelete;
    private String school;

    private  String idcard;
    private String name;
    private Integer schoolId;

    public AppStcardApprove() {
    }

    public AppStcardApprove(String telephone, String stcard, Date entrancedate, Date graduatedate, String stcardPhotoUrl, Integer approveState, Integer employeeid, Date createtime, Date updatetime, Integer isdelete, String school, String idcard, String name, Integer schoolId) {
        this.telephone = telephone;
        this.stcard = stcard;
        this.entrancedate = entrancedate;
        this.graduatedate = graduatedate;
        this.stcardPhotoUrl = stcardPhotoUrl;
        this.approveState = approveState;
        this.employeeid = employeeid;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.isdelete = isdelete;
        this.school = school;
        this.idcard = idcard;
        this.name = name;
        this.schoolId = schoolId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getStcard() {
        return stcard;
    }

    public void setStcard(String stcard) {
        this.stcard = stcard;
    }

    public Date getEntrancedate() {
        return entrancedate;
    }

    public void setEntrancedate(Date entrancedate) {
        this.entrancedate = entrancedate;
    }

    public Date getGraduatedate() {
        return graduatedate;
    }

    public void setGraduatedate(Date graduatedate) {
        this.graduatedate = graduatedate;
    }

    public String getStcardPhotoUrl() {
        return stcardPhotoUrl;
    }

    public void setStcardPhotoUrl(String stcardPhotoUrl) {
        this.stcardPhotoUrl = stcardPhotoUrl;
    }

    public Integer getApproveState() {
        return approveState;
    }

    public void setApproveState(Integer approveState) {
        this.approveState = approveState;
    }

    public Integer getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(Integer employeeid) {
        this.employeeid = employeeid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    @Override
    public String toString() {
        return "AppStcardApprove{" +
                "telephone='" + telephone + '\'' +
                ", stcard='" + stcard + '\'' +
                ", entrancedate=" + entrancedate +
                ", graduatedate=" + graduatedate +
                ", stcardPhotoUrl='" + stcardPhotoUrl + '\'' +
                ", approveState=" + approveState +
                ", employeeid=" + employeeid +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", isdelete=" + isdelete +
                ", school='" + school + '\'' +
                ", idcard='" + idcard + '\'' +
                ", name='" + name + '\'' +
                ", schoolId=" + schoolId +
                '}';
    }
}
